<style>
.headinfo .mod-member {
    position: absolute;
    margin: 0 auto;
	margin-top: 2.5rem;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -1px;
    width: 36px;
	height: 26px;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #7c1cc9;
}
.headinfo .bottombg {position: absolute;bottom:-20px;width:100%;height:22px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
		<div class="headinfo" style="height:4rem;background:{{main.syscolor || '#7c1cc9'}}">
				<div class="bottombg" style="background:{{main.syscolor || '#7c1cc9'}};"></div>
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/member.qiandao/')" style="background:{{main.syscolor || '#7c1cc9'}};">签到</div>
						<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:4rem">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="top: 2rem;background: {{main.syscolor || '#7c1cc9'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999;flex: 1;text-align:left;">
													<div class="l bold" style="width:100%">{{pagedata.item.nickname}} </div>
													<div class="l">
														<div style="width:100%;font-size:12px" href="javascript:;" ng-click="access_json('core/member.set/')">手机: {{pagedata.item.mobile}} <span style="color:{{main.syscolor || '#7c1cc9'}}">设置</span></div>
														<div style="font-size:12px">[我的团长]: 
														<span ng-if="pagedata.member.fromuser>0" class="red" href="javascript:;" >({{pagedata.member.team.info.nickname}})</span>
														<span ng-if="pagedata.member.fromuser==0" class="red" href="javascript:;" >(无)</span>
														</div>
													</div>
												</div>
									
						</div>
						<div class="fui-icon-group noborder  col-4">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span ng-if="pagedata.setpay.credit==1" href="javascript:;" ng-click="access_json('core/member.recharge/')" style="color:{{main.syscolor || '#7c1cc9'}}">充值</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的积分</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.mycoupon || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">优惠券</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.ideal_money || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">现金红包</div>
													</div>
												</div>
						</div>
					</div>
				</div>
						<div ng-if="pagedata.setting.no_order!=1" class="fui-cell-group fui-cell-click mod-group" style="margin-top: 4.5rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_weishop/order.list/')">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">我的订单</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看全部订单</div>
							</a>
							<div class="fui-icon-group col-5 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=0')">
									<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
									<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
									<div class="text">待付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=1')">
									<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.status1}}</div>
									<div class="icon icon-orange radius"><i class="icon icon-daifahuo"></i></div>
									<div class="text">待发货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=2')">
									<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.status2}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
									<div class="text">待收货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=3')">
									<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.statics.status3}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-survey1"></i></div>
									<div class="text">待评价</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=5')">
									<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.status4}}</div>
									<div class="icon icon-pink radius"><i class="icon icon-tuihuanhuo1"></i></div>
									<div class="text">退换货</div>
								</a>
							</div>
						</div>
						<div class="fui-cell-group fui-cell-click" style="background:none;margin-top:0">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json(pagedata.pluginset.shop_action)">
								<div class="fui-cell-text" style="text-align: center;">点击前往购物</div>
							</a>
						</div>
						<div ng-if="pagedata.feemoney.isopen==1" class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_weishop/order.list/')">
								<div class="fui-cell-icon"><i class="icon icon-dixiaofei"></i></div>
								<div class="fui-cell-text">我的账单</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看全部账单</div>
							</a>
							<div class="fui-icon-group col-4 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;">
									<div class="red bold">{{pagedata.feemoney_day || '0.00'}}</div>
									<div class="text">今日节省</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;">
									<div class="red bold">{{pagedata.feemoney_month || '0.00'}}</div>
									<div class="text">本月节省</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;">
									<div class="red bold">{{pagedata.feemoney_years || '0.00'}}</div>
									<div class="text">本年节省</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;">
									<div class="red bold">{{pagedata.feemoney_lastyears || '0.00'}}</div>
									<div class="text">去年节省</div>
								</a>
							</div>
						</div>
						<div ng-if="pagedata.is_peisong>0" class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_peisong/index/')">
											<div class="fui-cell-icon"><i class="icon icon-peisong"></i></div>
											<div class="fui-cell-text">
												配送员入口
											</div>
											<div class="fui-cell-remark"></div>
										</a>
						</div>
						<div ng-if="pagedata.is_worker>0" class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_weishop/store.manage.index/')">
											<div class="fui-cell-icon"><i class="icon icon-caifua"></i></div>
											<div class="fui-cell-text">
												店员入口
											</div>
											<div class="fui-cell-remark"></div>
										</a>
						</div>
						<div ng-if="pagedata.setting.no_days!=1" class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;">
											<div class="fui-cell-icon"><i class="icon icon-set"></i></div>
											<div class="fui-cell-text">
												我的日常
												</div>
											<div class="fui-cell-remark" href="javascript:;" ng-click="access_json('jy_weishop/coupon.myindex/')"></div>
										</a>
										<div class="fui-icon-group col-5 selecter">
											<a ng-repeat="item in pagedata.setting.my_days" class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(item.action)">
												<div class="icon icon-green radius"><i class="icon {{item.icon}}"></i></div>
												<div class="text">{{item.title}}</div>
											</a>
										</div>
						</div>
						<div class="fui-cell-group fui-cell-click mod-group">
								<a ng-if="pagedata.setting.no_logs!=1" class="fui-cell" href="javascript:;">
											<div class="fui-cell-icon"><i class="icon icon-jifen"></i></div>
											<div class="fui-cell-text">
												我的记录
												</div>
											<div class="fui-cell-remark" href="javascript:;" ng-click="access_json('core/member.credit_log/')"></div>
								</a>
								<div ng-if="pagedata.setting.no_logs!=1" class="fui-icon-group col-4 selecter">
											<a ng-repeat="item in pagedata.setting.my_logs" class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(item.action)">
												<div class="icon icon-green radius"><i class="icon {{item.icon}}"></i></div>
												<div class="text">{{item.title}}</div>
											</a>
								</div>
								<a ng-if="pagedata.setting.no_others!=1" ng-repeat="item in pagedata.setting.my_memberbtn" class="fui-cell" href="javascript:;" ng-click="access_json(item.action)">
												<div class="fui-cell-icon"><i class="icon {{item.icon}}"></i></div>
												<div class="fui-cell-text"><p>{{item.title}}</p></div>
												<div class="fui-cell-remark"></div>
								</a>
						</div>
						<div ng-if="pagedata.setting.no_verify!=1" class="fui-cell-group fui-cell-click mod-group">
								<a class="fui-cell external" ng-click="access_json('jy_weishop/order.list//status=2')">
									<div class="fui-cell-icon"><i class="icon icon-gouwu"></i></div>
									<div class="fui-cell-text">待使用商品信息</div>
									<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
								</a>
								<div ng-if="pagedata.verifygoods.length>0" class="fui-icon-group selecter" style="overflow: scroll;">
									<ul class="banner-ul">
										<li ng-repeat="item in pagedata.verifygoods" ng-class="{'banner-li-blue':item.numlimit}">
											<a ng-if="item.cangetcard" ng-click="pagedata.addcard(item.card_id,item.cardcode)">
												<div></div>
												<span>待激活</span>
												<img ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" alt="">
												<p>	{{item.title}}</p>
											</a>
											<a ng-if="!item.cangetcard" ng-click="access_json('jy_weishop/verify.verifygoods/detail/id='+item.id)">
												<div></div>
												<span>待使用</span>
												<img ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" alt="">
												<p>	{{item.title}}</p>
											</a>
										</li>
									</ul>
								</div>
						</div>
						<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
						</div>
			<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.item.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.item.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.item.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode" style="height:2.5rem"/>
                        <span class="r-f">{{pagedata.item.level}}</span>
                    </div>
            </div>
		</div>
</div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.id,{fontSize:36});
});
</script>